#!/bin/bash

if [ ! -d "build" ]; then
  mkdir build
fi

cd build

curdir=`pwd`

echo ${curdir}/../../../source/build/lib

cmake .. -DCMAKE_INSTALL_PREFIX=${curdir}/../../../source/build

make -j 8

make install

